package tools.old.files;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;

public class DocentRegistrerenController implements ActionListener {

	public DocentRegistrerenController(JButton button){ 		

	} 		

	public void actionPerformed(ActionEvent e) {

		if ("registreren".equals(e.getActionCommand())) {
			DocentRegistrerenModel.getInstance().registreren();
		}

		if("Cancel".equals(e.getActionCommand())){
			System.exit(0);
		}
	}

}
